<%@ page import="com.railway.files.model.FileCategoryColumns"%>
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<html>
<head>
	<title>
	<%=FileCategoryColumns.TABLE_ALIAS%>新增</title>
		
	<%@ include file="/commons/listcssjs.jsp" %>
		<script type="text/javascript">		
	    function openURL(urlstr,width,height){         
       	var url ;
      	if('NewsCategory' == urlstr){
       	  url = '${ctx}/files/FilesCategory/showCategoryTree.do';      
      	}        
        var returnVal = window.showModalDialog(url, window, "dialogWidth="+width+"px;dialogHeight="+height+"px;status:0;scroll:no");   
           form1.parentId.value = returnVal[0];      
        }  	  
	    </script>
	</head>
	<body>
		<form id="form1" action="${ctx}/files/FilesCategory/save.do" method="post">
			<input type="submit" value="提交" />
			<input type="button" value="返回列表" onclick="window.location='${ctx}/files/FilesCategory/list.do'" />
			<input type="button" value="后退" onclick="history.back();" />
			<table class="formTable">
				<input type="hidden" id="id" name="id" value="${model.id}" />
                <tr>
					<td class="tdLabel">
						<%=FileCategoryColumns.ALIAS_NAMES%>:
					</td>
					<td>
						<input id="names" name="names" value="${model.names}" type="text" class="easyui-validatebox" />
				</td>
				</tr>
				<tr>
					<td class="tdLabel">
						<%=FileCategoryColumns.ALIAS_DESCS%>:
					</td>
					<td>
						<input id="descs" name="descs" value="${model.descs}"
							type="text" class="easyui-validatebox" />
					</td>
				</tr>
 
		</table>
		</form>
	</body>
</html>